<?
$project = $this->project;
?>

<? if (!empty($project['img'])): ?>
<a href="<?= $project['img'] ?>"><img src="<?= $project['img'] ?>" alt="<?= $project['title'] ?>"/></a>
<? endif; ?>
<?= $this->form ?>